xen/mm: Use __virt_to_mfn in map_domain_page instead of virt_to_mfn
authorJulien Grall <julien.grall@arm.com>
Tue, 12 Sep 2017 10:03:09 +0000 (11:03 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 12 Sep 2017 10:29:52 +0000 (11:29 +0100)
commit41c48004d1d8bcf3aa8151c252575dc1992a42e3
tree419f485bdcdc55b8933b6e5da5fbedaa2e1a8efb
parentcaa8d100b923f2abfb6ba54dbe20ab3f37f8bd91
xen/mm: Use __virt_to_mfn in map_domain_page instead of virt_to_mfn

virt_to_mfn may by overridden by the source files, for improving locally
typesafe.

Therefore map_domain_page has to use __virt_to_mfn to prevent any
compilation issue in sources files that override the helper.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
xen/include/asm-arm/mm.h
xen/include/xen/domain_page.h